package com.xdap.keymen.entity.wm.request.point;


import com.xdap.keymen.entity.wm.request.BaseRequest;
import com.xdap.keymen.entity.wm.vo.point.AdjustInfo;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.util.List;

@Setter
@Getter
public class UserPointRequest extends BaseRequest {

    public UserPointRequest() {
        super.setUrl("/apigw/weimob_crm/v2.0/point/import");
    }

    @NotNull
    private int requestType;
    @NotNull
    private long changePoint;
    @NotNull
    private int adjustType;
    @NotNull
    private String changeReason;

    private String operatorWid;
    /**
     * 操作积分导入的组织 ID
     */
    private String operateStoreVid;
    /**
     * 积分来源的组织 ID
     */
    private long sourceVid;

    @NotNull
    private int changeType;

    private List<AdjustInfo> adjustInfoList;
}
